﻿using System;

namespace test
{
    class Program
    {

        static void Main(string[] args)
        {
            var l = new Data_Structures_and_Algorithms.linear_list.StaticLinerarTable();
            l.Display();
            l.Insert(1,1);
            l.Insert(2, 5);
            l.Insert(2, 2);
            l.Display(); //125
            l.Insert(1, 3);
            l.Display();//3125
            l.Update(2, 4);
            l.Display();//3425
            l.Delete(3);
            l.Display();//345
            Console.WriteLine("-----------");
            Console.WriteLine(l.Find(4)); // 2
        }
    }
}
